﻿namespace MN.Framework.Log
{
    public partial class LogBuffer
    {
        public string Value { get; set; }
        public string Code { get; set; }
        public int TypeNumber { get; set; }
        public System.DateTime CreationDate { get; set; }

        //[NotMapped]
        public TypeOfLog Type
        {
            set { TypeNumber = (int)value; }
            get { return (TypeOfLog)TypeNumber; }
        }
    }

    public enum TypeOfLog
    {
        Start = 1,
        End = 2,
        OK = 3,
        Info = 4,
        Error = 5,
        Other = 6,
    }
    public enum CodeOfLog
    {

    }
}
